'
' Blackfoot WEB Server
'
' These constants appear on WEB pages for
' replacement by the webserver when requested.
'
CONST ServerRequestPath = "<#+ServerRequestPath+#>"      ' The requested path + file
CONST ServerName = "<#+ServerName+#>"                    ' The server's network name
CONST ServerVersion = "<#+ServerVersion+#>"              ' The version of the server
CONST ServerStatus = "<#+ServerStatus+#>"                ' The status of the server
CONST ServerStartUp = "<#+ServerStartDate+#>"            ' The server's start time and date
CONST ServerHits = "<#+ServerHits+#>"                    ' The number of server hits
CONST ServerWebPageHits = "<#+ServerWebPageHits+#>"      ' The number of webpage hits
CONST ServerErrorHits = "<#+ServerErrorHits+#>"          ' The number of error hits
CONST ServerAdminHits = "<#+ServerAdminHits+#>"          ' The number of admin hits 
CONST ServerDebugMode = "<#+ServerDebugMode+#>"          ' Debug ON or OFF
'
' These constants are the admin commmands
' (except the LOGIN cmd).
'
CONST AdminCommandLogout = "?LOGOUT"
CONST AdminCommandResetStats = "?RESETSTATS"
CONST AdminModeToggle = "?TOGGLEMODE"
CONST AdminDebugToggle = "?TOGGLEDEBUG"


' costante di esecuzione di finestre
CONST CmdExecuteWin = "?EXECUTEWIN"



'
' Remote log commands - TOO hard basket for now!
'
CONST LogCommandOpen = "?OPENLOG"
CONST LogPrevPage = "?LOGPREVPAGE"
CONST LogNextPage = "?LOGNEXTPAGE"
CONST LogCommandQuit = "?QUITLOG"
'
' These constants are the (remote) Admin Log data fields
'
CONST LogEventTime = "<#+LogTime+#>"
CONST LogEventText = "<#+LogText+#>"

'
' These constants are the different errors
'
CONST ContinueErrorData = "100 Continue"
CONST SwitchingProtocolsErrorData = "101 Switching Protocols"
CONST OKErrorData = "200 OK"
CONST CreatedErrorData = "201 Created"
CONST AcceptedErrorData = "202 Accepted"
CONST NonAuthoritativeInformationErrorData = "203 Non-Authoritative Information"
CONST NoContentErrorData = "204 No Content"
CONST ResetContentErrorData = "205 Reset Content"
CONST PartialContentErrorData = "206 Partial Content"
CONST MultipleChoicesErrorData = "300 Multiple Choices"
CONST MovedPermanentlyErrorData = "301 Moved Permanently"
CONST FoundErrorData = "302 Found"
CONST SeeOtherErrorData = "303 See Other"
CONST NotModifiedErrorData = "304 Not Modified"
CONST UseProxyErrorData = "305 Use Proxy"
CONST TemporaryRedirectErrorData = "307 Temporary Redirect"
CONST BadRequestErrorData = "400 Bad Request"
CONST UnauthorizedErrorData = "401 Unauthorized"
CONST PaymentRequiredErrorData = "402 Payment Required"
CONST ForbiddenErrorData = "403 Forbidden"
CONST NotFoundErrorData = "404 Not Found"
CONST MethodNotAllowedErrorData = "405 Method Not Allowed"
CONST NotAcceptableErrorData = "406 Not Acceptable"
CONST ProxyAuthenticationRequiredErrorData = "407 Proxy Authentication Required"
CONST RequestTimeoutErrorData = "408 Request Time-out"
CONST ConflictErrorData = "409 Conflict"
CONST GoneErrorData = "410 Gone"
CONST LengthRequiredErrorData = "411 Length Required"
CONST PreconditionFailedErrorData = "412 Precondition Failed"
CONST RequestEntityTooLargeErrorData = "413 Request Entity Too Large"
CONST RequestURITooLargeErrorData = "414 Request-URI Too Large"
CONST UnsupportedMediaTypeErrorData = "415 Unsupported Media Type"
CONST RequestedrangenotsatisfiableErrorData = "416 Requested range not satisfiable"
CONST ExpectationFailedErrorData = "417 Expectation Failed"
CONST InternalServerErrorErrorData = "500 Internal Server Error"
CONST NotImplementedErrorData = "501 Not Implemented"
CONST BadGatewayErrorData = "502 Bad Gateway"
CONST ServiceUnavailableErrorData = "503 Service Unavailable"
CONST GatewayTimeoutErrorData = "504 Gateway Time-out"
CONST HTTPVersionnotsupportedErrorData = "505 HTTP Version not supported"
